
package cn.dubbo.api.bean.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 【 订单实体类 】
 * 
 * @author DreamSea
 * @version 创建时间：2019年7月28日 下午1:04:27
 */
public class Order implements Serializable {

	private static final long serialVersionUID = 4137038218652977415L;
	private String id;
	private String username;// 买家
	private Double payAmount;// 总金额
	private Date createTime;// 创建时间

	public Order() {
		super();
	}

	public Order(String id, String username, Double payAmount, Date createTime) {
		super();
		this.id = id;
		this.username = username;
		this.payAmount = payAmount;
		this.createTime = createTime;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public Double getPayAmount() {
		return payAmount;
	}

	public void setPayAmount(Double payAmount) {
		this.payAmount = payAmount;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
}
